package com.bbm.bbmanage.entity.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author : lyj
 * @Timer : 2023/12/14
 * @Description :
 */
@Data
public class ReserveVo {
    @TableId
    private Integer id;

    private Long houseId;

    private String title;

    private String des;

    private String img;

    private String address;

    private Double price;

    private Double totalPrice;

    private Integer userId;

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date startTime;

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date endTime;

    private Integer days;

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date createTime;

    private Integer adultNum;

    private Integer childNum;

    private Integer babyNum;

    private Integer isPay;


}
